<!--change to divs (like a proper web page --> 
<% form_for :edit, :url => {:action => :save_problem}, :html => {:multipart=> true} do |form| %>
<table>
    <tr>
        <td>Problem:</td>
        <td><%= @problem.name %></td>
    </tr>

    <tr>
        <td>Input:</td>
        <td><%= form.file_field :input %></td>
    </tr>

    <tr>
        <td>Output:</td>
        <td><%= form.file_field :output %></td>
    </tr>
</table>


<%= form.hidden_field(:id, {:value =>@problem.id}) %>

<%= submit_tag "Save"  %>
<%end%>
